Interrupt 21h Function 5705h
Sets the last
access date for the given file.
mov ax, 5705h
; Set Last Access Date and Time
mov bx, Handle
; see below
mov cx, 0
; time currently not supported, always 0
mov dx, AccessDate
; see below
int 21h
jc error
Parameters
Handle
File handle.
AccessDate
New access
date. The date is a packed 16-bit value with this form:
Bits |
Contents |
0-4 |
Day of the
month (1-31) |
5-8 |
Month (1 =
January, 2 = February, and so on) |
9-15 |
Year offset
from 1980 (that is, add 1980 to get the actual year) |
Return Value
Clears the
carry flag if successful. Otherwise, the function sets the carry flag and sets
the AX register to an error value.